from django.urls import path
from .views import *

urlpatterns = [
    path('login/', LoginView.as_view()),  # 登录
    path('news_api/', NewsView.as_view()),  # 展示新闻
    path('news_info/', NewsInfoView.as_view()),  # 展示新闻详情
    path('news_stars/', NewsStarsView.as_view()),  # 新闻点赞
]
